package com.fire.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fire.model.entity.Monitor;

import java.util.List;
import java.util.Map;

/**
 * ClassName: MonitorService
 * Package: com.fire.service
 * Description:
 *
 * @Author: @weixueshi
 * @Create: 2024/4/3 - 23:32
 * @Version: v1.0
 */
public interface IMonitorService extends IService<Monitor> {

    /**
     * 分页查询监测数据
     * @param pageNo
     * @param pageSize
     * @param location
     * @return
     */
    Map<String, Object> queryMonitorData(Integer pageNo, Integer pageSize, String location);

    /**
     * 查询城市名称
     * @return
     */
    List<String> queryCity();

    /**
     * 将异常的监测数据处理情况修改为已处理状态
     * @param id
     */
    void updateDispose(Integer id);
}
